package com.lfy.auth.domain.req;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

@Data
public class RegReq {
    @NotBlank(message = "email不能为空")
    @Email(message = "邮箱不合法")
    private String email;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "密码不能为空")
    private String rePassword;
}
